<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
	"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>myweb</title>
	
	<script type="text/javascript">
		function back() {
			window.history.back();
		}
	</script>
</head>
<body>
	<div style="width:600px; height:500px; margin:100px auto 0;">
		<s:form action="addPerson" method="post">
			<table style="text-align:center; width:400px;" align="center" border="1" cellpadding="0" cellspacing="0">
				<tr style="background-color:#eeeeee;"  onmouseover="style.backgroundColor='yellow'" 
    				onmouseout="style.backgroundColor='#eeeeee'">
					<td style="width:40%; height:25px;">姓名</td>
					<td style="width:60%;"><input type="text" name="person.name" value=""></td>
				</tr>
				
				<tr style="background-color:#ffffff;"  onmouseover="style.backgroundColor='yellow'" 
    				onmouseout="style.backgroundColor='#ffffff'">
    				<td style="width:40%; height:25px;">年龄</td>
					<td style="width:60%;"><input type="text" name="person.age" value=""></td>
    			</tr>
				
				<tr style="background-color:#eeeeee;"  onmouseover="style.backgroundColor='yellow'" 
    				onmouseout="style.backgroundColor='#eeeeee'">
					<td style="width:40%; height:25px;">财富</td>
					<td style="width:60%;"><input type="text" name="person.money" value=""></td>
				</tr>
				
				<tr>
					<td colspan="2">
						<input type="submit" value="提交"/>
						<input type="button" value="返回" onclick="back();">
					</td>
				</tr>
			</table>
		</s:form>
	</div>
</body>
</html>